WPGraphQL\Utils\Tracing S

Total Complexity 33
Dependencies 3
Dependents 1
Total lines 344
Lines of code 132
Logical lines of code 64
Comment lines 158
Methods 15
Properties 9

Methods 15

Method Rating Maintainability Complexity Lines of code
sanitize_resolver_trace()
A
57 8 16
user_can_see_trace_data()
S
60 4 14
add_tracing_to_response_extensions()
S
62 4 12
init()
S
53 2 22
init_field_resolver_trace()
S
63 2 10
end_field_resolver_trace()
S
67 2 8
sanitize_trace_resolver_path()
S
66 2 9
format_timestamp()
S
70 2 5
get_trace()
S
61 1 12
init_trace()
S
73 1 5
end_trace()
S
76 1 4
get_field_resolver_duration()
S
78 1 3
get_start_offset()
S
78 1 3
return_tracing_headers()
S
71 1 6
get_request_duration()
S
79 1 3